package sac.vista.maestros;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JButton;

public class medicamento extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					medicamento frame = new medicamento();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public medicamento() {
		setTitle("Medicamento");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 346, 306);
		contentPane = new JPanel();
		contentPane.setBackground(new Color(0, 204, 255));
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBackground(Color.WHITE);
		panel.setBounds(10, 11, 310, 240);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JLabel lblDescripcin = new JLabel("Descripci\u00F3n:");
		lblDescripcin.setBounds(10, 51, 74, 14);
		panel.add(lblDescripcin);
		
		JLabel lblIndicaciones = new JLabel("Indicaciones:");
		lblIndicaciones.setBounds(10, 144, 74, 14);
		panel.add(lblIndicaciones);
		
		JLabel lblCosto = new JLabel("Costo:");
		lblCosto.setBounds(33, 178, 37, 14);
		panel.add(lblCosto);
		
		JLabel lblNombre = new JLabel("Nombre:");
		lblNombre.setBounds(24, 26, 46, 14);
		panel.add(lblNombre);
		
		textField = new JTextField();
		textField.setBounds(80, 23, 201, 20);
		panel.add(textField);
		textField.setColumns(10);
		
		JScrollPane scrollPane = new JScrollPane();
		scrollPane.setBounds(80, 51, 201, 82);
		panel.add(scrollPane);
		
		JTextArea textArea = new JTextArea();
		scrollPane.setViewportView(textArea);
		
		textField_1 = new JTextField();
		textField_1.setBounds(80, 142, 201, 17);
		panel.add(textField_1);
		textField_1.setColumns(10);
		
		textField_2 = new JTextField();
		textField_2.setBounds(78, 175, 203, 17);
		panel.add(textField_2);
		textField_2.setColumns(10);
		
		JButton button = new JButton("Eliminar");
		button.setBounds(10, 206, 89, 23);
		panel.add(button);
		
		JButton button_1 = new JButton("Cancelar");
		button_1.setBounds(110, 206, 89, 23);
		panel.add(button_1);
		
		JButton button_2 = new JButton("Guardar");
		button_2.setBounds(209, 206, 89, 23);
		panel.add(button_2);
	}

}
